


CFLAGS := -g -O0 -Wall

creat:	01_creat.c
	-gcc $^ -o $@ 
	-./$@
	-rm $@

sqr:	02_sqr.c
	-gcc $^ -o $@ 
	-./$@
	-rm $@

sqr1:	03_sqrthread.c
	-gcc $^ -o $@ 
	-./$@
	-rm $@
race:	04_race.c
	-gcc $^ -o $@ 
	-./$@
	-rm $@

mq:	05_mq.c
	-gcc $(CFLAGS) $^ -o $@ 
	-./$@
	-rm $@